

import request from "@/utils/request"

export const addCartAPI = (params) => request.post("/cart/add",params);
export const getCartListAPI = (params) => request.post("/cart/list",params);
export const doSelectOneAPI = (params) => request.post("/cart/selectone",params);
export const doSelectAllAPI = (params) => request.post("/cart/selectall",params);
export const doUpdateNumAPI = (params) => request.post("/cart/updatenum",params);
export const doRemoveOneAPI = (params) => request.post("/cart/remove",params);
export const doRemoveAllAPI = (params) => request.post("/cart/removeall",params);

// /cart/add